<div #switch class="x-switch" [class.x-flex]="justify || align || direction" [class.x-checked]="value" [class.x-disabled]="disabled">
  <label *ngIf="label" [style.width]="labelWidth" [ngClass]="labelMap">{{ label }}</label>
  <div class="x-switch-row">
    <div class="x-switch-slider" (click)="switchClick()"></div>
  </div>
</div>
